﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="CustomerManage_AttentionProductManage" Codebehind="AttentionProductManage.aspx.cs" %>
<%@ Register Assembly="CutPageBar" Namespace="SiteCommon" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>客户关注商品管理</title>
    <link type="text/css" rel="Stylesheet" href="css/admin.css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table align="center" class="gjh">
            <tr>
                <td colspan="100">
                    <asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label>
                </td>
            </tr>
            <tr>
                <th colspan="100" align="left">客户关注商品管理</th>
            </tr>
            <tr>
                <th>商品编号</th>
                <th>商品名称</th>
                <th>规格1</th>
                <th>规格2</th>
                <th>时间</th>
            </tr>
            <asp:Repeater ID="rpList" runat="server">
                <ItemTemplate>
                    <tr>
                        <td><%#DataBinder.Eval(Container.DataItem, "SPDM")%></td>
                        <td><%#DataBinder.Eval(Container.DataItem, "ProductName")%></td>
                        <td><%#DataBinder.Eval(Container.DataItem, "GG1")%></td>
                        <td><%#DataBinder.Eval(Container.DataItem, "GG2")%></td>
                        <td><%#DataBinder.Eval(Container.DataItem, "AddTime")%></td>
                    </tr>        
                </ItemTemplate>
            </asp:Repeater>
        </table>
        <table align="center" width="90%" cellpadding="0" cellspacing="0">
            <tr>
                <td><cc1:CutPageBar ID="CutPageBar1" runat="server" ShowCount="True" PageSize="15" OnOnPageIndexChanged="CutPage" />  </td>
            </tr>
        </table>
                  
        <table align="center" class="gjh">
            <tr>
                <th colspan="2" align="left">添加客户关注商品</th>
            </tr>
            <tr>
                <td>商品编号</td>
                <td><asp:TextBox ID="txtProductNo" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>商品名称</td>
                <td><asp:TextBox ID="txtProductName" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>规格1</td>
                <td><asp:TextBox ID="txtGG1" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>规格2</td>
                <td><asp:TextBox ID="txtGG2" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Button ID="btnSubmit" runat="server" Text="添加关注商品" Width="200px" OnClick="btnSubmit_Click" />
                    <asp:Button ID="btnClear" runat="server" Text="清空数据" Width="200px" OnClick="btnClear_Click" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
